package com.woniuxy.food.service;

import com.woniuxy.food.infra.model.FoodType;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.food.service.servicedto.FoodTypeServiceDto;
import com.woniuxy.food.service.serviceparam.InsertFoodTypeServiceParam;
import com.woniuxy.food.service.serviceparam.SearchFoodTypeByConditionServiceParam;
import com.woniuxy.food.service.serviceparam.UpdateFoodTypeServiceParam;
import com.woniuxy.food.service.serviceparam.UpdateFoodTypeStateServiceParam;

import java.util.List;

/**
 * <p>
 * 菜品类型表 服务类
 * </p>
 *
 * @author 刘德华
 * @since 2023-07-19
 */
public interface FoodTypeService extends IService<FoodType> {

    void insertFoodType(InsertFoodTypeServiceParam insertFoodTypeServiceParam);

    void updateFoodTypeStateByIds(UpdateFoodTypeStateServiceParam updateFoodTypeStateServiceParam);

    void updateFoodTypeById(UpdateFoodTypeServiceParam updateFoodTypeServiceParam);

    void deleteFoodTypeByIds(Integer[] ids, Integer storeId);

    List<FoodTypeServiceDto> searchFoodTypeByCondition(SearchFoodTypeByConditionServiceParam searchFoodTypeByConditionServiceParam);
}
